﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SpringDownloader
{
	public partial class FormUpgrade : Form
	{
		public FormUpgrade()
		{
			InitializeComponent();
		}

		private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			DialogResult = DialogResult.OK;
			Utils.OpenWeb("http://zero-k.info/lobby/setup.exe");
			Close();
		}

		private void button1_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.OK;
			Utils.OpenWeb("http://zero-k.info/lobby/setup.exe");
			Close();
		}

		private void button2_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.Cancel;
			Close();
		}

		private void FormUpgrade_Load(object sender, EventArgs e)
		{
			this.Icon = Resources.SpringDownloader;
		}
	}
}
